package edu.hwadee.entity;

import java.util.Date;

/**
 * Materieluse entity. @author MyEclipse Persistence Tools
 */

public class Materieluse implements java.io.Serializable {

	// Fields

	private Integer materielUseId;
	private Staff staff;
	private Carservers carservers;
	private Material material;
	private Date useDate;
	private Float quanity;

	// Constructors

	/** default constructor */
	public Materieluse() {
	}

	/** full constructor */
	public Materieluse(Staff staff, Carservers carservers, Material material, Date useDate, Float quanity) {
		this.staff = staff;
		this.carservers = carservers;
		this.material = material;
		this.useDate = useDate;
		this.quanity = quanity;
	}

	// Property accessors

	public Integer getMaterielUseId() {
		return this.materielUseId;
	}

	public void setMaterielUseId(Integer materielUseId) {
		this.materielUseId = materielUseId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Carservers getCarservers() {
		return this.carservers;
	}

	public void setCarservers(Carservers carservers) {
		this.carservers = carservers;
	}

	public Material getMaterial() {
		return this.material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Date getUseDate() {
		return this.useDate;
	}

	public void setUseDate(Date useDate) {
		this.useDate = useDate;
	}

	public Float getQuanity() {
		return this.quanity;
	}

	public void setQuanity(Float quanity) {
		this.quanity = quanity;
	}

}